.clearFix {
    &::after {
        display: block;
        content: "";
        clear: both;
    }
}

.center {
    width: 1200px;
    margin: 0 auto;
}

.btn {
    line-height: 54px;
    display: block;
    width: 10px;
    height: 54px;
    border: 1px solid #CCC;
    background: #EBEBEB;
}

//网页顶部导航条
.header_top {
    background: #eaeaea;
    height: 30px;

    .header_top_cont {
        .center;
        line-height: 30px;
        // border: 1px solid red;
        .clearFix;

        // .clearfix;
        .header_top_cont_l {
            float: left;
            font-weight: bold;

            a {
                font-weight: normal;
            }

            em {
                font-weight: normal;
                font-size: 14px;
                color: #b3aeae;
            }
        }

        .header_top_cont_r {
            float: right;

            a {
                border-right: 1px solid #b3aeae;
                padding: 0 10px;

                &:last-child {
                    border-right: none;
                }
            }
        }
    }
}

//网页搜索栏及logo
.header_mid {
    .center;
    // border: 1px solid red;
    .clearFix;

    #logo {
        float: left;
        width: 175px;
        height: 56px;
        margin: 25px 45px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .searchBox {
        float: right;
        margin-top: 35px;

        input {
            box-sizing: border-box;
            width: 490px;
            height: 32px;
            padding: 0px 4px;
            border: 3px solid #ea4a36;
            float: left;
        }

        button {
            width: 68px;
            height: 32px;
            background: #ea4a36;
            color: #fff;
            border: none;
            float: left;
        }
    }
}

//网页主导航
.header_nav {
    border-bottom: 2px solid #e1251b;

    .header_nav_cont {
        .center;
        .clearFix;
        // border: 1px solid blue;

        li {
            float: left;
            margin: 0px 22px;

            a {
                font-size: 16px;
                color: #333;
                line-height: 50px;
            }

            &:first-child {
                text-align: center;
                font-weight: bold;
                width: 210px;
                height: 50px;
                background: #e1251b;
                line-height: 50px;

                a {
                    color: #fff;
                    font-size: 14px;
                }
            }
        }
    }
}

//整体区域
.conMain {
    width: 1200px;
    margin: 15px auto 0;

    .navPath {
        padding: 9px 15px 9px 0;

        span {
            padding: 0 5px;
        }
    }

    .bigCon {
        margin: 5px 0 15px;
        .clearFix;

        .left {
            width: 400px;
            float: left;

            .leftTop {
                position: relative;
                width: 400px;
                height: 400px;
                border: 1px solid #DFDFDF;
                // overflow: hidden;

                .bigPic {
                    position: relative;
                    width: 400px;
                    height: 400px;

                    img {
                        width: 100%;
                        height: 100%;
                    }

                    .mask {
                        position: absolute;
                        top: 0;
                        left: 0;
                        cursor: move;
                        display: none;
                        opacity: 0.5;
                        width: 200px;
                        height: 200px;
                        background: rgba(255, 255, 255, .5);
                        border: 1px solid #ddd;
                    }
                }

                .bigBigPic {
                    width: 400px;
                    height: 400px;
                    position: absolute;
                    left: 420px;
                    top: 0;
                    border: 1px solid #ddd;
                    overflow: hidden;
                    display: none;

                    img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 800px;
                        height: 800px;
                    }
                }
            }

            .leftBttom {
                width: 400px;
                margin-top: 5px;
                .clearFix;

                .prev,
                .next {
                    .btn;
                }

                .prev {
                    float: left;
                    margin-right: 4px;
                }

                .next {
                    float: right;
                }

                .picsWrap {
                    width: 372px;
                    height: 56px;
                    float: left;
                    overflow: hidden;
                    position: relative;

                    ul {
                        white-space: nowrap;
                        float: left;
                        font-size: 0;
                        position: absolute;
                        top: 0;
                        left: 0;
                        transition: .5s ease;
                        // .clearFix

                        li {
                            display: inline-block;
                            width: 50px;
                            height: 50px;
                            border: 1px solid #CCC;
                            padding: 2px;
                            margin-right: 20px;

                            img {
                                width: 100%;
                                height: 100%;
                            }


                        }
                    }
                }
            }
        }

        .right {
            width: 700px;
            float: right;

            .rightTop {
                h3 {
                    font-size: 14px;
                    line-height: 21px;
                    margin-top: 15px;
                }

                .pOne {
                    color: #e12228;
                    margin-top: 15px;
                }

                .priceWrap {
                    margin-top: 10px;
                    line-height: 28px;
                    background: #fee9ec;
                    padding: 7px;

                    .priceTop {
                        .clearFix;

                        >span {
                            float: left;
                            margin-right: 15px;
                        }

                        .price {
                            float: left;
                            color: #cc1122;

                            >span {
                                float: left;
                                font-size: 16px;
                            }

                            >p {
                                float: left;
                                font-size: 24px;
                                font-weight: 700;
                            }

                            >i {
                                float: left;
                                font-size: 12px;
                            }
                        }

                        .pR {
                            float: right;
                        }
                    }

                    .priceBottom {
                        .clearFix;

                        >span {
                            float: left;
                            margin-right: 15px;
                        }

                        >p {
                            float: left;
                            width: 520px;
                            line-height: 28px;

                            span {
                                &:first-child {
                                    background: #c81623;
                                    padding: 3px;
                                    color: #fff;
                                }

                                color: #999;
                            }
                        }
                    }
                }

                .support {
                    margin-top: 10px;
                    line-height: 28px;
                    .clearFix;

                    span {
                        margin-right: 15px;
                        float: left;
                    }

                    p {
                        float: left;
                        width: 520px;
                        color: #999;
                    }
                }

                .address {
                    margin-top: 10px;
                    line-height: 28px;
                    border-bottom: 1px solid #ededed;
                    padding-bottom: 5px;
                    .clearFix;

                    span {
                        margin-right: 15px;
                        float: left;
                    }

                    p {
                        float: left;
                        width: 520px;
                        color: #999;
                    }
                }
            }

            .rightBttom {
                margin-top: 10px;
                line-height: 28px;

                .choosed {
                    margin-top: 20px;
                    .clearFix;

                    span {
                        height: 30px;
                        line-height: 30px;
                        float: left;
                        padding: 0 20px;
                        margin-right: 20px;
                        background: snow;
                        border: 1px solid #ddd;

                        i {
                            margin-left: 20px;
                            color: red;
                        }
                    }
                }

                .chooseWrap {
                    dl {
                        margin-top: 13px;
                        margin-bottom: 13px;
                        .clearFix;

                        dt {
                            float: left;
                            margin-right: 15px;
                        }

                        dd {
                            &:first-of-type {
                                color: red;
                            }

                            float: left;
                            margin-right: 5px;
                            color: #666;
                            line-height: 24px;
                            padding: 2px 14px;
                            border-top: 1px solid #eee;
                            border-left: 1px solid #eee;
                            border-right: 1px solid #bbb;
                            border-bottom: 1px solid #bbb;
                        }
                    }
                }

                .addcart {
                    .clearFix;

                    .count {
                        float: left;
                        width: 55px;
                        margin-right: 15px;
                        position: relative;

                        input {
                            width: 38px;
                            height: 37px;
                            border: 1px solid #ddd;
                            color: #555;
                        }

                        a {
                            width: 15px;
                            height: 18px;
                            line-height: 18px;
                            text-align: center;
                            border: 1px solid #ddd;
                            background: #f1f1f1;
                            color: #666;
                            position: absolute;
                            right: 1px;

                            &:last-child {
                                top: 20px;
                                border-top: none;
                            }
                        }
                    }

                    button {
                        float: left;
                        padding: 0 25px;
                        height: 36px;
                        font-size: 16px;
                        background: #e1251b;
                        color: #fff;
                        border: none;
                    }
                }
            }
        }
    }

    //产品信息
    .goods {
        width: 1200px;
        margin: 30px auto 0;
        .clearFix;

        .goods_l {
            float: left;
            width: 210px;
            border: 1px solid #ccc;

            .goods_l_t {
                height: 40px;

                h4 {
                    float: left;
                    width: 50%;
                    height: 37px;
                    line-height: 37px;
                    text-align: center;
                    border-top: 3px solid #fff;
                    border-bottom: 1px solid #ccc;
                }

                .active {
                    border-top: 3px solid #e1251b;
                    border-bottom: 1px solid #fff;
                }
            }

            .goods_l_b {
                padding: 10px;

                >div.active {
                    display: block;

                    .goodsList {
                        .clearFix;

                        li {
                            float: left;
                            width: 50%;
                            line-height: 28px;
                            border-bottom: 1px dashed #ededed;
                        }
                    }

                    .goodsList2 {
                        li {
                            margin: 5px 0 15px;
                            border-bottom: 1px solid #ededed;

                            img {
                                width: 152px;
                            }

                            p {
                                font-size: 16px;
                                color: #c81623;
                            }

                            .button {
                                margin-top: 5px;
                                margin-bottom: 5px;
                                text-align: center;

                                a {
                                    border: 1px solid #8c8c8c;
                                    color: #8c8c8c;
                                    padding: 2px 14px;
                                    line-height: 18px;
                                }
                            }
                        }
                    }
                }

                >div {
                    display: none;
                }
            }
        }

        .goods_r {
            float: right;
            width: 980px;

            .goods_r_t {
                border: 1px solid #ddd;
                margin-bottom: 15px;

                h4 {
                    border-bottom: 1px solid #ddd;
                    background: #f1f1f1;
                    color: #333;
                    padding: 5px 0 5px 15px;
                }

                .goods_r_t_list {
                    height: 170px;
                    padding-top: 10px;

                    .left {
                        float: left;
                        width: 127px;
                        height: 165px;
                        position: relative;

                        img {
                            width: 87px;
                            margin: 0 auto;
                        }

                        p {
                            color: #c81623;
                            font-size: 16px;
                            text-align: center;
                        }

                        i {
                            font-size: 16px;
                            position: absolute;
                            top: 48px;
                            right: -25px;
                        }
                    }

                    .middle {
                        float: left;
                        width: 668px;
                        height: 165px;

                        li {
                            float: left;
                            width: 127px;
                            margin: 0 20px;
                            text-align: center;

                            img {
                                width: 120px;
                                height: 130px;
                            }

                            div {
                                input {
                                    outline: 0;
                                }
                            }
                        }
                    }

                    .right {
                        float: left;
                        border-left: 1px solid #ddd;
                        width: 153px;
                        height: 165px;
                        padding-left: 20px;

                        div {
                            margin-top: 10px;
                            margin-bottom: 10px;
                        }

                        p {
                            font-weight: 700;
                            margin-bottom: 10px;
                        }

                        i {
                            font-size: 16px;
                            color: #B1191A;
                            margin-bottom: 10px;
                        }

                        div {
                            button {
                                padding: 10px 25px;
                                font-size: 16px;
                                color: #fff;
                                background: #e1251b;
                                border: none;
                            }
                        }
                    }
                }
            }

            .goods_r_b {
                .tabBtns {
                    background: #ededed;
                    .clearFix;

                    li.active {
                        background: red;

                        a {
                            color: #fff;
                        }
                    }

                    li {
                        float: left;
                        border: 1px solid #ddd;
                        background: #fff;
                        height: 40px;
                        padding: 0 11px;
                        line-height: 40px;
                        text-align: center;
                        border-right: none;
                    }

                }

                .tabConts {
                    div.active {
                        display: block;

                        ul {
                            li {
                                margin: 10px 0;
                            }
                        }

                        img {
                            display: block;
                        }
                    }

                    div {
                        padding-left: 20px;
                        display: none;
                    }
                }
            }
        }
    }
}